package mop.security.acl;

/**
 * Assertions give the ACL more flexibility
 * @author MOP Team 7
 */
public interface Assertion {
	/**
	 * Check extra assertion of permission for given role to given resource with given privilege
	 * @param acl			ACL List
	 * @param role			Role 		| null = all roles
	 * @param asset			Asset	 	| null = all assets
	 * @param privilege		Privilege	| null = all privileges
	 * @return	Boolean
	 */
	 public boolean assertTrue(Acl acl, RoleInterface role, AssetInterface asset, String privilege);
}
